package org.cuit.epoch.seon.combat.states;

import org.cuit.epoch.seon.combat.OrderContext;

// 已取消状态
public class CancelledState implements OrderState {
    @Override
    public void pay(OrderContext context) {
        System.out.println("订单已取消，无法支付。");
    }

    @Override
    public void cancel(OrderContext context) {
        System.out.println("订单已取消，无法重复取消。");
    }

    @Override
    public void ship(OrderContext context) {
        System.out.println("订单已取消，无法发货。");
    }
}